package com.xwh.week1;

public class Practice6 {
    public static void main(String[] args) {
        System.out.println(method(1));
    }

    public static int method(int length) {
        int sum = 0;

        int a;
        for(a = 0; a < 100; ++a) {
            sum += a * a;
        }

        a = 0;

        for(int i = 0; i < 100; ++i) {
            a += i;
        }

        return a * a - sum;
    }
}
